package com.test.task.service;

import com.test.task.beans.User;

import java.util.List;

/**
 * @DATE 2021/6/21 - 16:39
 */
public interface AdminService {
    Integer addStaff(User user);

    List<User> queryAllStaff();

    User findStaffByUsername(String username);

    Integer deleteStaffByUsername(String username);

    List<User> findNotAllocatedStaff();

    List<User> findAllManager();

    Integer allocatedDeptByUsername(User user);
}
